<?php
/**
 * 考评完成度,查看考评状态为60的为完成
 */
apf_require_controller("Abstract");
apf_require_class("Bll_Jx_Plan");
class Grade_ShowCompleteController extends AbstractController {

    public function handle_request() {
        $params = $this->request->get_parameters();
        $date = $params['searchDate'];
        $date = 20130103;
        $plan_bll = new Bll_Jx_Plan();
        $res = $plan_bll->get_complete_count($date);

        $this->request->set_attribute('date', $date);
        $this->request->set_attribute('complete', $res);
        return 'Grade_ShowComplete';
    }
}